package cn.jcby.app.lebu.service;

import cn.jcby.app.lebu.controller.req.BasicListReq;
import cn.jcby.app.lebu.controller.req.RechargeReq;
import cn.jcby.app.lebu.entity.UserChargeWithdrawalEntity;
import cn.jcby.app.lebu.utils.PageUtils;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 充值记录
 *
 * @author lht
 * @email 
 * @date 2023-12-07 15:13:35
 */
public interface UserChargeWithdrawalService extends IService<UserChargeWithdrawalEntity> {

    PageUtils queryPage(BasicListReq params);

    void add(UserChargeWithdrawalEntity userChargeWithdrawal) ;

    void updateBy(UserChargeWithdrawalEntity userChargeWithdrawal) ;

    Map<String, String> recharge(RechargeReq req, HttpServletRequest request) throws Exception;

    void updateStatusByTradeNo(String outTradeNo, String transactionId, Integer code);


}

